package com.friendtrip.controller

/**
 * Created by william.lee on 2017/4/4 0004.
 */
data class Message(val code: Int, val message: String, val data: Any)

open class BaseController {
    fun setOkMessage(data: Any): Message {
        return Message(0, "恭喜你请求成功", data)
    }
}